import {createRouter, createWebHashHistory} from 'vue-router'

const routes = [
    {
        path: '/detail',
        name: 'Detail',
        component: () => import('../components/detail.vue'),
    },
    {
        path: '/',
        name: 'Scanning',
        component: () => import('../components/scanning.vue'),
    }
]
const router = createRouter({
    history: createWebHashHistory(),
    routes
})
export default router
